Allow custom precompile commands
authorAlex Crichton <alex@alexcrichton.com>
Wed, 18 Jun 2014 20:09:19 +0000 (13:09 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 19 Jun 2014 18:52:51 +0000 (11:52 -0700)
commit3433a01ebafe3bbc9aebbfbfa09ed1f9db8bf521
tree6d66e7fc348a3af95f692a89c9a4823ca83d77fa
parent47d9bf8b4c555ff7f6d580920f5e6c864a76a7bc
Allow custom precompile commands

This commit enables support for custom precompilation commands to be triggered
before a package builds via rustc. The current interface is to have
`build = "foo"` in the `[project]` section of Cargo.toml and cargo will just
execute the exact command given.
src/cargo/core/manifest.rs
src/cargo/ops/cargo_rustc.rs
src/cargo/util/errors.rs
src/cargo/util/process_builder.rs
src/cargo/util/toml.rs
tests/support/mod.rs
tests/test_cargo_compile.rs